peoples = ['baby','pupil','student','man','woman']
ages = ['20','1','18','40','30']
for people in peoples:
    if people != 'old man':
        print("Is people == 'old man'? I predict False.")
       # print(people == 'old man')        #  比较第6行与第9行的区别 如果注释第9行会怎么变
    if people == 'baby':
        print("Is people == 'baby'?I predict true.")
        print(people == 'baby')

people = 'man'
if people in peoples:
   print(people.title()+ "is in peoples.\n")
people = 'old man'
if people not in peoples:
    print(people.title()+ "is not in peoples.\n")

if ages[4] == '30':
    print("That is the correct answer.")
if ages[0] >= '1' and ages[1] <= '30':
    print("true".title())
if ages[2] >= '20' or ages[4] >= '50':
    print("true".title())
else:
    print("false".title()+"\n")

age = '90'
if age in ages:
   print("You are "+age+" years old.")
else:
   print("false".title()+"\n")

age = '1'
print("Is age == '1'? I predict true.")
print(age == '1')
